package com.hsylient.spring.service.impl;

import com.hsylient.spring.dao.StudentDO;
import com.hsylient.spring.service.StudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    private final StudentDO studentDO;

    public StudentServiceImpl(StudentDO studentDO) {
        this.studentDO = studentDO;
    }

    @Override
    public void addStudent() {
        studentDO.addStudent();
    }
}
